<div style="background-color: #FFF; overflow: hidden">
	<div title="{{$.lp.base}}" class="MWFTab"> 
		<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
		  <tr>
		    <td class="editTableTitle">{{$.lp.id}}:</td>
		    <td class="editTableValue"><input type="text" name="id" value="text{$.id}" class="editTableInput"/></td>
		  </tr>
		  <tr>
		    <td class="editTableTitle">{{$.lp.name}}:</td>
		    <td class="editTableValue"><input type="text" name="name" value="text{$.name}" class="editTableInput"/></td>
		  </tr>
		  <tr>
		    <td class="editTableTitle">{{$.lp.description}}:</td>
		    <td class="editTableValue"><input type="text" name="description" value="text{$.description}" class="editTableInput"/></td>
		  </tr>
			<tr title="延时加载为是时，需要使用this.form.get(subformId).active()加载">
				<td class="editTableTitle">{{$.lp.delayedLoading}}:</td>
				<td class="editTableValue">
					<input type="radio" name="isDelay" value="true" text{($.isDelay)?'checked':''}/>{{$.lp.yes}}
					<input type="radio" name="isDelay" value="false" text{(!$.isDelay)?'checked':''}/>{{$.lp.no}}
				</td>
			</tr>
		  <!--<tr>-->
		    <!--<td class="editTableTitle">Class:</td>-->
		    <!--<td class="editTableValue"><input type="text" name="description" value="text{$.description}" class="editTableInput"/></td>-->
		  <!--</tr>-->
		</table>
		<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
			<tr>
				<td class="editTableValue" colspan="2">
					<input type="radio" onclick="if (this.checked) {$('text{$.pid}selectSubform').setStyle('display', 'block'); $('text{$.pid}scriptSubform').setStyle('display', 'none');}" name="subformType" value="select" text{($.subformType!='script')?'checked':''}/>{{$.lp.selectSubform}}
					<input type="radio" onclick="if (this.checked) {$('text{$.pid}selectSubform').setStyle('display', 'none'); $('text{$.pid}scriptSubform').setStyle('display', 'block');}" name="subformType" value="script" text{($.subformType=='script')?'checked':''}/>{{$.lp.calculationSubform}}<br/>
				</td>
			</tr>
		</table>

		<div id="text{$.pid}selectSubform" class="MWFSubFormSelectContainer" style="display: text{($.subformType!='script')?'block':'none'}">
			<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
				<tr>
					<td class="editTableTitle">{{$.lp.application}}:</td>
					<td class="editTableValue">
						<div class="MWFSubformAppSelect" name="subformAppSelected"></div>
					</td>
				</tr>
				<tr>
					<td class="editTableTitle">{{$.lp.subform}}:</td>
					<td class="editTableValue">
						<div class="MWFSubformSelect" name="subformSelected"></div>
					</td>
				</tr>
				<!--<tr>-->
					<!--<td class="editTableTitle"></td>-->
					<!--<td class="editTableValue">-->
						<!--<input type="button" value="编辑表单" onclick="">-->
					<!--</td>-->
				<!--</tr>-->
			</table>
		</div>
		<div id="text{$.pid}scriptSubform" style="display: text{($.subformType=='script')?'block':'none'}">
			<div style="padding: 5px;">{{$.lp.crossApplication}}：<br/>return { <br/>
				&nbsp;&nbsp;"application" : "applicationName", //{{$.lp.computeSubmitAnnotation1}} <br/>
				&nbsp;&nbsp;"subform" : "formName" //{{$.lp.computeSubmitAnnotation2}}<br/>
				}; <br/> {{$.lp.thisApplication}}：<br/>return "formName"; </div>
			<div class="MWFScriptArea" name="subformScript" title="{{$.lp.subformScript}} (S)"></div>
		</div>

	<!--<div title="事件"  class="MWFTab">-->
		<!--<div class="MWFEventsArea" name="events"></div>-->
	<!--</div>-->
	</div>
	<div title="{{$.lp.event}}"  class="MWFTab">
		<div class="MWFEventsArea" name="events"></div>
	</div>
	<div title="HTML"  class="MWFTab">
		<div class="MWFHTMLArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
	</div>
	<div title="JSON"  class="MWFTab">
		<div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
	</div>
</div>
